---
title: Groq
---

>[Groq](https://groq.com) developed the world's first Language Processing Unit™, or `LPU`.
> The `Groq LPU` has a deterministic, single core streaming architecture that sets the standard
> for GenAI inference speed with predictable and repeatable performance for any given workload.
>
>Beyond the architecture, `Groq` software is designed to empower developers like you with
> the tools you need to create innovative, powerful AI applications.
>
>With Groq as your engine, you can:
>* Achieve uncompromised low latency and performance for real-time AI and HPC inferences 🔥
>* Know the exact performance and compute time for any given workload 🔮
>* Take advantage of our cutting-edge technology to stay ahead of the competition 💪


## Installation and Setup

Install the integration package:

<CodeGroup>
```bash pip
pip install langchain-groq
```

```bash uv
uv add langchain-groq
```
</CodeGroup>

Request an [API key](https://console.groq.com/login?utm_source=langchain&utm_content=provider_page) and set it as an environment variable:

```bash
export GROQ_API_KEY=gsk_...
```

## Chat models

See a [usage example](/oss/integrations/chat/groq).

```python
from langchain_groq import ChatGroq
```
